package com.smarttiger.zero.admin.entity;



import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
 * Created by zhouzhengwei on 2021/10/28.
 */
@Entity
@Table(name = "roleMenu")
public class RoleMenuModel extends BaseEntity {

    @Column(name = "groupId",length = 50)
    private String groupId;

    @Column(name = "menuId",length = 50)
    private String menuId;

    @Column(name = "parentMenuId",length = 50)
    private String parentMenuId;

    @Transient
    private List<RoleMenuModel> roleMenuModels;


    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(String parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public List<RoleMenuModel> getRoleMenuModels() {
        return roleMenuModels;
    }

    public void setRoleMenuModels(List<RoleMenuModel> roleMenuModels) {
        this.roleMenuModels = roleMenuModels;
    }
}
